package ft.xpf.impl;

import java.util.HashMap;
import java.util.Map;

public class C
{
	public static final String _FORMAT_TYPE_XML = "XML";
	public static final String _FORMAT_TYPE_JSON = "JSON";
	public static final String _FORMAT_DIRECTION_PRETTY = "PRETTY";
	public static final String _FORMAT_DIRECTION_COMPACT = "COMPACT";
	
	public static final String _ENCODING_UTF8 = "UTF-8";
	
	private static Map<String,String> _hmTtp = null;
	
	public static final Map<String,String> getHmTtp()
	{
		if(_hmTtp==null || _hmTtp.isEmpty())
		{
			_hmTtp = new HashMap<String,String>();
			_hmTtp.put("btnSelectSingle", "根据左侧 Xpath 路径从 txt1 中选择元素");
			_hmTtp.put("btnClear1", "清除左侧文本");
			_hmTtp.put("btnClear2", "清除左侧文本");
			_hmTtp.put("btnCopyTo1", "将左侧文本复制到剪贴板");
			_hmTtp.put("btnCopyTo2", "将左侧文本复制到剪贴板");
			_hmTtp.put("btnPaste2", "将文本粘贴至右侧");
			_hmTtp.put("btnPaste1", "将文本粘贴至右侧");
			_hmTtp.put("txt2", "txt2：将文本拖放至此处……");
			_hmTtp.put("txt1", "txt1：将文本拖放至此处……");
			_hmTtp.put("btnFormatCompact", "压缩");
			_hmTtp.put("btnFormatPretty", "执行格式化");
		}
		return _hmTtp;
	}
}
